package cn.asterly.cicada.mapper.newbase;

import cn.asterly.cicada.model.Log;
import cn.asterly.cicada.model.LogWithBLOBs;

import java.util.List;

public interface LogMapper {
    int deleteByPrimaryKey(String id);

    int insert(Log record);

    int insertSelective(Log record);

    Log selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Log record);

    int updateByPrimaryKeyWithBLOBs(Log record);

    int updateByPrimaryKey(Log record);

    List<Log> selByTop10(int curentPage,int pageSize);

    List<Log> selAll();

}